/**
 * output package name
 */
package com.kingdee.eas.lms.enumerate;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class FaStockTaskStateEnum extends StringEnum
{
    public static final String UNDISTRIBUTED_VALUE = "2";
    public static final String ALLOCATED_VALUE = "1";

    public static final FaStockTaskStateEnum undistributed = new FaStockTaskStateEnum("undistributed", UNDISTRIBUTED_VALUE);
    public static final FaStockTaskStateEnum allocated = new FaStockTaskStateEnum("allocated", ALLOCATED_VALUE);

    /**
     * construct function
     * @param String faStockTaskStateEnum
     */
    private FaStockTaskStateEnum(String name, String faStockTaskStateEnum)
    {
        super(name, faStockTaskStateEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static FaStockTaskStateEnum getEnum(String faStockTaskStateEnum)
    {
        return (FaStockTaskStateEnum)getEnum(FaStockTaskStateEnum.class, faStockTaskStateEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(FaStockTaskStateEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(FaStockTaskStateEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(FaStockTaskStateEnum.class);
    }
}